package com.design.pattern.abstractFactory.factory;

import com.design.pattern.abstractFactory.bike.BikeFactory;
import com.design.pattern.abstractFactory.car.CarFactory;

/**
 * 抽象工厂,提供创建工厂的方法
 */
public interface AbstractFactory {

    default CarFactory carFactory(String type) {
        return null;
    }

    default BikeFactory bikeFactory(String type) {
        return null;
    }
}
